package com.autumn.config.entities.view;

import com.autumn.common.api.domain.entities.auditing.ISoftDelete;
import com.autumn.domain.entities.AbstractDefaultEntity;
import com.autumn.mybatis.mapper.annotation.TableOrderBy;
import com.autumn.mybatis.mapper.annotation.ViewTable;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 服务连接配置视图
 * 
 * @author 老码农
 *         <p>
 *         Description
 *         </p>
 * @date 2018-01-02 05:34:39
 */
@Entity
@Table(name = "view_service_connection_configure")
@ViewTable
@TableOrderBy(value = "serviceId ASC,sortId ASC")
public class ServiceConnectionConfigureView extends AbstractDefaultEntity implements ISoftDelete {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3991345852442038941L;

	private String serviceId;
	private Long sortId;
	private String identity;
	private boolean isDefault;
	private Long connectionId;
	private String connectionName;
	private Integer connectionType;
	private String propertyContent;
	private Integer appStatus;
	private Integer connectionStatus;
	private boolean isDelete;

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public Long getSortId() {
		return sortId;
	}

	public void setSortId(Long sortId) {
		this.sortId = sortId;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public boolean getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}
	
	public Long getConnectionId() {
		return connectionId;
	}

	public void setConnectionId(Long connectionId) {
		this.connectionId = connectionId;
	}

	public String getConnectionName() {
		return connectionName;
	}

	public void setConnectionName(String connectionName) {
		this.connectionName = connectionName;
	}

	public Integer getConnectionType() {
		return connectionType;
	}

	public void setConnectionType(Integer connectionType) {
		this.connectionType = connectionType;
	}

	public String getPropertyContent() {
		return propertyContent;
	}

	public void setPropertyContent(String propertyContent) {
		this.propertyContent = propertyContent;
	}

	public Integer getAppStatus() {
		return appStatus;
	}

	public void setAppStatus(Integer appStatus) {
		this.appStatus = appStatus;
	}

	public Integer getConnectionStatus() {
		return connectionStatus;
	}

	public void setConnectionStatus(Integer connectionStatus) {
		this.connectionStatus = connectionStatus;
	}

	@Override
	public boolean getIsDelete() {
		return isDelete;
	}

	@Override
	public void setIsDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}

	

}
